package com.changli05.exer.exer1;

public class InterfaceTest {
    public static void main(String[] args) {
        ComparableCircle c1 = new ComparableCircle(5.3);
        ComparableCircle c2 = new ComparableCircle(2.3);
//        System.out.println(c1.compareTo(c2));

        System.out.println(c1.compareTo(c2)>0?"c1半径大":"c2半径大");
    }
}
